package top.stacktrace.account.service;

import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@DubboService
public class AccountDbService implements AccountDubboService{
    @Autowired
    private AccountService accountService;

    @Override
    public boolean payForOrder(long userid, int price) {
        return accountService.pay(userid,price);
    }
}
